package com.example.wlzz.repository;

import com.example.wlzz.entity.User_;
import org.springframework.data.jpa.repository.JpaRepository;

public interface UserRepository extends JpaRepository<User_,Integer>{
     User_ findByUserId(Integer userId);
     User_ findByPhoneAndPassword(String phone, String password);
     User_ findByPhone(String phone);
}
